<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class GoodsItem extends Model
{
    protected $pk = 'id';

    public function setLogoAttr($value): string
    {
        return $value ? removeDomain($value):'';
    }

    public function getLogoAttr($value): string
    {
        return $value ? addDomain($value):'';
    }

}
